package vip.finance.makemoney.apiSpider.eastmoney;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 我的资产
 *
 * @author yangbin
 * @since 2023-02-08
 */
@NoArgsConstructor
@Data
public class ResultAssets {

    @JsonProperty("Status")
    private Integer status;
    @JsonProperty("Count")
    private Integer count;
    @JsonProperty("Data")
    private List<DataDTO> data;
    @JsonProperty("Errcode")
    private Integer errcode;

    @NoArgsConstructor
    @Data
    public static class DataDTO {
        @JsonProperty("Djzj")
        private String djzj;
        @JsonProperty("Dryk")
        private String dryk;
        @JsonProperty("Kqzj")
        private String kqzj;
        @JsonProperty("Kyzj")
        private String kyzj;
        @JsonProperty("Ljyk")
        private String ljyk;
        @JsonProperty("Money_type")
        private String moneyType;
        @JsonProperty("RMBZzc")
        private String rMBZzc;
        @JsonProperty("Zjye")
        private String zjye;
        @JsonProperty("Zxsz")
        private String zxsz;
        @JsonProperty("Zzc")
        private String zzc;
        @JsonProperty("positions")
        private List<PositionsDTO> positions;

        @NoArgsConstructor
        @Data
        public static class PositionsDTO {
            @JsonProperty("Bz")
            private String bz;
            @JsonProperty("Cbjg")
            private String cbjg;
            @JsonProperty("Cbjgex")
            private String cbjgex;
            @JsonProperty("Ckcb")
            private String ckcb;
            @JsonProperty("Ckcbj")
            private String ckcbj;
            @JsonProperty("Ckyk")
            private String ckyk;
            @JsonProperty("Cwbl")
            private String cwbl;
            @JsonProperty("Djsl")
            private String djsl;
            @JsonProperty("Dqcb")
            private String dqcb;
            @JsonProperty("Dryk")
            private String dryk;
            @JsonProperty("Drykbl")
            private String drykbl;
            @JsonProperty("Gddm")
            private String gddm;
            @JsonProperty("Gfmcdj")
            private String gfmcdj;
            @JsonProperty("Gfmrjd")
            private String gfmrjd;
            @JsonProperty("Gfssmmce")
            private String gfssmmce;
            @JsonProperty("Gfye")
            private String gfye;
            @JsonProperty("Jgbm")
            private String jgbm;
            @JsonProperty("Khdm")
            private String khdm;
            @JsonProperty("Ksssl")
            private String ksssl;
            @JsonProperty("Kysl")
            private String kysl;
            @JsonProperty("Ljyk")
            private String ljyk;
            @JsonProperty("Market")
            private String market;
            @JsonProperty("Mrssc")
            private String mrssc;
            @JsonProperty("Sssl")
            private String sssl;
            @JsonProperty("Szjsbs")
            private String szjsbs;
            @JsonProperty("Ykbl")
            private String ykbl;
            @JsonProperty("Zjzh")
            private String zjzh;
            @JsonProperty("Zqdm")
            private String zqdm;
            @JsonProperty("Zqlx")
            private String zqlx;
            @JsonProperty("Zqlxmc")
            private String zqlxmc;
            @JsonProperty("Zqmc")
            private String zqmc;
            @JsonProperty("Zqsl")
            private String zqsl;
            @JsonProperty("Ztmc")
            private String ztmc;
            @JsonProperty("Ztmr")
            private String ztmr;
            @JsonProperty("Zxjg")
            private String zxjg;
            @JsonProperty("Zxsz")
            private String zxsz;
            @JsonProperty("zqzwqc")
            private String zqzwqc;
        }
    }
}
